import store from '@/store/index.js'

export default {

  // 验证权限
  verify: (btnMenu)=>{
    if(store.getters.btnMenus.includes(btnMenu)) return true
    return false
  },

  // 验证菜单权限
  verifyMenu: (menu)=> {
    if(store.getters.funMenus.includes(menu)) return true
    return false
  }
}